# -*- coding: utf-8 -*-
from django.shortcuts import render, render_to_response

# Create your views here.

from app_hotel.models import Hotel


def index(request):
    # hotel=Hotel.objects.get(name='深圳xxx国际大酒店')
    context = {}

    hotel=Hotel.objects.all()
    context['hotel'] = hotel

    return render(request, 'index.html', context)
